﻿using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	 	//GGFalsh
		public class GGFalsh
	{
   		#region GGFalsh
		/// <summary>
		/// 
		/// </summary>
		public GGFalsh()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public GGFalsh(Int32 ggid)
		{
			this._ggid = ggid;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public GGFalsh(DataRow dr)
		{
	            int.TryParse(Convert.ToString(dr["GGID"]),out _ggid);
                this._ggclassname = Convert.ToString(dr["GGClassName"]);
                this._ggtitle = Convert.ToString(dr["GGTitle"]);
                this._ggphotourl = Convert.ToString(dr["GGPhotoURL"]);
                this._gglinkurl = Convert.ToString(dr["GGLinkURL"]);
                this._ggorderby = Convert.ToInt32(dr["GGOrderby"]);
        			
		}
		#endregion
		
      	#region GGID
		/// <summary>
		/// GGID
        /// </summary>		
                private int _ggid;
        public int GGID
                {
            get{ return _ggid; }
            set{ _ggid = value; }
        }
        #endregion
        #region GGClassName
		/// <summary>
		/// GGClassName
        /// </summary>		
                private string _ggclassname;
        public string GGClassName
                {
            get{ return _ggclassname; }
            set{ _ggclassname = value; }
        }
        #endregion
        #region GGTitle
		/// <summary>
		/// GGTitle
        /// </summary>		
                private string _ggtitle;
        public string GGTitle
                {
            get{ return _ggtitle; }
            set{ _ggtitle = value; }
        }
        #endregion
        #region GGPhotoURL
		/// <summary>
		/// GGPhotoURL
        /// </summary>		
                private string _ggphotourl;
        public string GGPhotoURL
                {
            get{ return _ggphotourl; }
            set{ _ggphotourl = value; }
        }
        #endregion
        #region GGLinkURL
		/// <summary>
		/// GGLinkURL
        /// </summary>		
                private string _gglinkurl;
        public string GGLinkURL
                {
            get{ return _gglinkurl; }
            set{ _gglinkurl = value; }
        }
        #endregion
        #region GGOrderby
		/// <summary>
		/// GGOrderby
        /// </summary>		
                private int _ggorderby;
        public int GGOrderby
                {
            get{ return _ggorderby; }
            set{ _ggorderby = value; }
        }
        #endregion
        	}
}